//引入echarts提供的所有的方法 放在$echarts上
import * as $echarts from "echarts";

//引入echarts所有组件
import VueEcharts from "vue-echarts";

import type { App } from "vue";

const vueEcharts = (app: App) => {
  //全局注册组件
  app.component("v-chart", VueEcharts);
};

export { $echarts, vueEcharts };
